//
//  JWFeaturedCell.m
//  见闻新闻
//
//  Created by brother on 16/2/28.
//  Copyright © 2016年 JoanBoat. All rights reserved.
//

#import "JWFeaturedCell.h"
#import "JWFeatured.h"
#import <UIImageView+WebCache.h>

@interface JWFeaturedCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImage;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end
@implementation JWFeaturedCell

- (void)setFeatured:(JWFeatured *)featured {
    _featured = featured;
   
    [self.iconImage sd_setImageWithURL:[NSURL URLWithString:featured.rd_pic] placeholderImage:[UIImage imageNamed:@"111"]];
    
    self.titleLabel.text = featured.rd_title;
    self.contentLabel.text = featured.rd_name;
    }
@end
